package top.lyunz.fangkeji.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import top.lyunz.fangkeji.bean.AttendanceRecord;
import top.lyunz.fangkeji.bean.selAttendanceRecord;
import top.lyunz.fangkeji.mapper.AttendanceRecordMapper;
import top.lyunz.fangkeji.service.AttendanceRecordService;
@Service
public class AttendanceRecordServiceImpl implements AttendanceRecordService {
	@Autowired
	private AttendanceRecordMapper AttendanceRecordMapper;
	@Override
	public int addAttendanceRecord(AttendanceRecord attendanceRecord) {
		// TODO Auto-generated method stub
		return AttendanceRecordMapper.addAttendanceRecord(attendanceRecord);
	}

	@Override
	public List<AttendanceRecord> getAllAttendanceRecordByUidandday(selAttendanceRecord record) {
		// TODO Auto-generated method stub
		return AttendanceRecordMapper.getAllAttendanceRecordByUidandday(record);
	}

	@Override
	public int updAttendanceRecord(AttendanceRecord attendanceRecord) {
		// TODO Auto-generated method stub
		return AttendanceRecordMapper.updAttendanceRecord(attendanceRecord);
	}

	

}
